package inter.impl;

import inter.Female;
import inter.Male;

public class Man extends Male {
    String name = "jack";
    @Override
    public void birthBaby(Female female) {
        System.out.println("正在与:"+female.name+"共同生育!");
    }

    public Man(String n9ame) {
        this.name = name;
    }

    public Man() {
    }
}
